package cn.tedu.basic;
/*本类用于测试方法的调用*/
public class MethodDemo {
    public static void main(String[] args) {
        System.out.println("main() start...");
        m1();
        System.out.println("main() stop...");
    }

    private static void m1() {
        System.out.println("m1() start...");
        m2();
        System.out.println("m1() stop...");
    }

    private static void m2() {
        System.out.println("m2() start...");
    }
}
